package org.cable.account.feign;

import org.cable.common.util.JsonData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author hsj
 * @date 2023/12/1 16:43
 */
@FeignClient(name = "dcloud-shop-service")
public interface ProductFeignService {

	/**
	 * 获取商品包
	 * @param productId
	 * @return
	 */
    @GetMapping("/api/product/v1/detail/{product_id}")
	JsonData detail(@PathVariable("product_id") long productId);
}
